home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 3: The Continuation / 17-Bit_The_Continuation_Disc.iso / amigan / amigan 9 / automata / source / ammenu.def < prev    next >
Encoding:
Modula Definition  |  1994-01-27  |  573 b   |  21 lines

  1. DEFINITION MODULE AMMenu;
  2.  
  3. (*  AMMenu prepares the menu and does all menu functions for Automata.
  4.  
  5.     Version 2.0a    by Mike Dryja     February 21, 1987  *)
  6.  
  7. TYPE
  8.   ToggleChoices = (Disable, Enable, Pause, Resume);
  9.     (* Four possible choices for the Toggle procedure *)    
  10.  
  11. PROCEDURE InitMenu ();
  12.   (* Initialize the menu for the Automata program. *)
  13.      
  14. PROCEDURE Toggle (Choice : ToggleChoices);
  15.   (* According to Choice, either enables or disables the Pause/Resume item
  16.      from the Project menu, or changes the wording to Pause or Resume *)
  17.      
  18. END AMMenu.
  19.  
  20.  
  21.